package Operation;

import Book.BookList;

public class ShowOperation implements Ioperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("展示图书");
        int size = bookList.getUsedSize();
        for (int i = 0; i < size; i++) {
            System.out.println(bookList.getBooks(i));
        }
    }
}
